From: Steven Hand Date: Fri, 29 Dec 2006 13:02:19 +0000 (+0000) Subject: Remove unused #defines. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15422^2~125 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=bcef756eb4389e6c86abfeb99255303c0b9c5bee;p=xen.git Remove unused #defines. Signed-off-by: Steven Hand --- diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h index 0000eb7843..00d0753def 100644 --- a/tools/libxc/xg_save_restore.h +++ b/tools/libxc/xg_save_restore.h @@ -101,12 +101,6 @@ static int get_platform_info(int xc_handle, uint32_t dom, /* Number of entries in the pfn_to_mfn_frame_list_list */ #define P2M_FLL_ENTRIES (((max_pfn)+(fpp*fpp)-1)/(fpp*fpp)) -/* Current guests allow 8MB 'slack' in their P2M */ -#define NR_SLACK_ENTRIES ((8 * 1024 * 1024) / PAGE_SIZE) - -/* Is the given PFN within the 'slack' region at the top of the P2M? */ -#define IS_REAL_PFN(_pfn) ((max_pfn - (_pfn)) > NR_SLACK_ENTRIES) - /* Returns TRUE if the PFN is currently mapped */ #define is_mapped(pfn_type) (!((pfn_type) & 0x80000000UL))